﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DBUtil.FastEntity
{
    public interface IEntityIdGenerator
    {
        object Generator(EntityIdGeneratorContext ctx);
    }

    public class EntityIdGeneratorContext
    {
        public DBAccess db { get; set; }
        public EntityInfo EntityInfo { get; set; }
        public EntityPropertyInfo PrimaryKeyInfo { get; set; }
        public object Data { get; set; }
    }
}
